<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>el-挂载点</title>

</head>
<body>
<div id="app">
    {{message}}
    <p>{{school.name}}  {{school.mobile}}</p>
    <ul>
        <li>
            {{campus[0]}}
        </li>
    </ul>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>


<script>
    var app = new Vue({
        el: "#app",
        data: {
            message: "黑马程序员",
            school:{
                name:"黑马程序员",
                mobile:"15832430315"
            },
            campus:["北京校区","上海校区"]
        }
    })
</script>
</body>
</html>
